﻿using HotelManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Service
{
    public interface IRoomService
    {
        RoomDetailInfoData GetAll(int roomTypeId , int roomStateId , int pageIndex, int pageSize);
        Task<RoomData> GetFirstOrDefaultAsync(int roomId);
        Task<ResultData<string>> DeleteAsync(RoomData roomData);
        Task<ResultData<string>> AddAsync(RoomData roomData);
        ResultData<string> Update(RoomUpdateData roomUpdateData);
    }
}
